package com.zy.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.chat.entity.ChatGroup;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.websocketx.TextWebSocketFrame;

import java.util.List;

public interface GroupService extends IService<ChatGroup> {

    public ChatGroup selectByUserId(String username);

    List<String> selectAllMembers(String groupname);
    public void GroupChat(ChannelHandlerContext ctx, TextWebSocketFrame msg);
}
